<template>
	<base-image
		class="up-currency size-4"
		:src="getCurrencyIcon(currency as CurrencyEnum)"
		type="network" />
</template>

<script lang="ts" setup>
import { CurrencyEnum } from '@/enums'
import { getCurrencyIcon } from '@/utils'
import BaseImage from '@/components/base/image/index.vue'

defineProps({
	currency: {
		type: String,
		default: 'USDT'
	}
})
</script>
<style lang="scss" scoped></style>
